package com.cruise.game.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cruise.game.model.entity.AgentApplication;
import org.apache.ibatis.annotations.Param;

/**
 * 代理申请Mapper
 *
 * @author cruise
 * @date 2025-02-28
 */
public interface AgentApplicationMapper extends BaseMapper<AgentApplication> {

    /**
     * 统计指定状态的申请数量
     *
     * @param status 状态
     * @return 申请数量
     */
    int countByStatus(@Param("status") String status);
}